package com.vca.common.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WriteOffRecordResponse对象", description="核销记录列表响应对象")
public class WriteOffRecordResponse implements Serializable {

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "用户信息")
    private String userInfo;

    @ApiModelProperty(value = "封面图")
    private String coverImage;

    @ApiModelProperty(value = "订单信息")
    private String info;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty(value = "核销员id")
    private Integer writeOffClerkId;

    @ApiModelProperty(value = "核销员")
    private String writeOffClerkName;

    @ApiModelProperty(value = "核销时间")
    private Date writeOffTime;

//    public void setCoverImage(String coverImage) {
//        this.coverImage = OssUtils.getOssFileUrl(coverImage);
//    }
}
